package ace.module.account.sdk.core.feign.impl;

import ace.cmp.openfeign.security.oauth2.core.config.FeignInternalServerOauth2SecurityConfig;
import ace.module.account.sdk.core.feign.IamAccountEventRecordFeignApi;
import ace.module.common.api.annotation.ApiRemoteProxyPriority;
import org.springframework.cloud.openfeign.FeignClient;
import ace.module.account.sdk.core.constant.SdkConstant;

/**
* 账户应用事件记录 rpc feign.
*
* @author Caspar
*/
@FeignClient(
    name = "${spring.cloud.openfeign.client.config.iamAccountEventRecordFeign.name:" + SdkConstant.FEIGN_SERVICE_NAME + "}",
    contextId = "iamAccountEventRecordFeign",
    path = IamAccountEventRecordFeign.PATH,
    configuration = FeignInternalServerOauth2SecurityConfig.class,
    primary = false
)
@ApiRemoteProxyPriority
public interface IamAccountEventRecordFeign extends IamAccountEventRecordFeignApi {
    String PATH = "${spring.cloud.openfeign.client.config.iamAccountEventRecordFeign.path:/account/iam-account-event-record/rpc}";
}
